
<div style="500px; padding:30px 10px 20px 50px; margin:0; float:left;">
	
	<% form_remote_tag :url => {:controller=>"login", :action => "login_user"} do -%>
	<div style="border: dashed 1px #CCC; padding:3px 15px; width:350px;">
	<table border="0">
	  <tr>
	    <td><h2>Login:</h2></td>
	    <td><%= text_field_tag :username %></td>
	  </tr>
	  <tr>
	    <td><h2>Password:</h2></td>
	    <td><%= password_field_tag :password %></td>
	  </tr>
	  <tr>
		<td></td><td><%= submit_tag "Login" %></td>
	  </tr>
	</table>
	<br />
	<%= link_to 'Forgotten your password?', forgotten_index_path %>
	</div>
	<% end %>
	
	<div style="margin-left:100px">
	<h3>The Developers:</h3>
	<ul>
		<li>David Wiggins</li>
		<li>Artan Ismaili</li>
		<li>Dave Hackett</li>
	</ul>
	</div>

	<% form_remote_tag :url => {:controller=>"login", :action => "make_user" } do -%>
	<div style="border: dashed 1px #CCC; padding:3px 15px; width:350px;">
	<h3>Create new account</h3>
	<table border="0">
	  <tr>
	    <td><h2>First Name:</h2></td>
	    <td><%= text_field_tag :firstname %></td>
	  </tr>
	  <tr>
	    <td><h2>Last Name:</h2></td>
	    <td><%= text_field_tag :surname %></td>
	  </tr>
	  <tr>
	    <td><h2>Login:</h2></td>
	    <td><%= text_field_tag :username %></td>
	  </tr>
	  <tr>
	    <td><h2>Password:</h2></td>
	    <td><%= password_field_tag :password %></td>
	  </tr>
	  <tr>
	    <td><h2>Email:</h2></td>
	    <td><%= text_field_tag :email %></td>
	  </tr>
	  <tr>
		<td></td><td><%= submit_tag "Create User" %></td>
	  </tr>
	</table>
	</div>
	<% end %>
	
	<br />
</div>

<div style="300px; padding:30px 50px 20px 10px; margin:0; float:right;">
	<img src="/images/mascot.jpg" width="240px" />
</div>
